AmpProject\AmpWP\DevTools\UserAccess S

Total Complexity 22
Dependencies 6
Dependents 2
Total lines 170
Lines of code 86
Logical lines of code 37
Comment lines 68
Methods 9
Properties 0

Methods 9

Method Rating Maintainability Complexity Lines of code
is_user_enabled()
S
63 4 11
print_personal_options()
S
57 3 18
update_user_setting()
S
66 4 7
get_user_enabled()
S
62 3 11
rest_update_dev_tools_enabled()
S
63 3 10
set_user_enabled()
S
69 2 6
register_rest_field()
S
60 1 14
register()
S
70 1 6
rest_get_dev_tools_enabled()
S
79 1 3